home *** CD-ROM | disk | FTP | other *** search
/ Aminet 28 / Aminet 28 (1998)(GTI - Schatztruhe)[!][Dec 1998].iso / Aminet / game / text / EAC14b.lha / EAC / Developers / Tutorials / Tutorial_02.EAC < prev    next >
Text File  |  1980-11-29  |  598b  |  27 lines

  1. .-------------------------------------------------------------------------.
  2. |In this example I have used the ADDOPT: command which will allow me to   |
  3. |go to different parts of my adventure. The command is quite simple to    |
  4. |use, and it works like this:      ADDOPT:[DisplayText]:[PageName]        |
  5. `-------------------------------------------------------------------------'
  6.  
  7. PAGE:START
  8. Welcome to my adventure. where would you like to go?
  9.  
  10. ADDOPT:Go north:north
  11. ADDOPT:Go south:south
  12. ENDPAGE:
  13.  
  14. PAGE:north
  15.  
  16. You go north. The end.
  17.  
  18. ENDPAGE:
  19.  
  20. PAGE:south
  21.  
  22. You go south. The end.
  23.  
  24. ENDPAGE:
  25.  
  26.  
  27.